@import "govuk/base";
@import "govuk/core";

.app-document-list > li {
  padding-top: govuk-spacing(4);
  padding-bottom: govuk-spacing(2);
  border-bottom: 1px solid govuk-functional-colour(border);
}

.app-metadata-list > li {
  display: inline-block;
  margin-right: govuk-spacing(2);
}

.app-filter li {
  padding-bottom: govuk-spacing(4);
  border-bottom: 1px solid govuk-functional-colour(border);
}

.app-open-fieldset {
  margin-top: govuk-spacing(4);
  margin-bottom: govuk-spacing(4);
  font-weight: normal;
}

.app-search-result-list__children {
  margin-left: govuk-spacing(4);

  @media #{govuk-from-breakpoint(tablet)} {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 15px;
    list-style: none;
  }
}

.app-search-results-summary {
  position: relative;
}

.app-search-results-summary .subscribe-link {
  position: absolute;
  top: 5px;
  right: 0;
}

.app-search-result-sort {
  @include govuk-font($size: 16);
}

.app-search-result-sort label {
  @include govuk-font($size: 16);
  display: inline;
  margin-right: govuk-spacing(1);
}

.app-next-page__number {
  text-decoration-line: underline;
}

.app-next-page {
  display: block;
  padding: govuk-spacing(4) govuk-spacing(2);
}

.app-next-page:hover {
  background-color: govuk-colour("black", $variant: "tint-95");
}
